﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Items.VO
{
    /// <summary>
    /// 商品分类
    /// </summary>
    [AutoMapFrom(typeof(ItemCategory))]
    public class ItemCategoryVO : EntityDto<long>
    {
        /// <summary>
        /// 父级id
        /// </summary>
        public long? ParentId { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string Picture { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool Enabled { get; set; }
        ///// <summary>
        ///// 经营范围Id
        ///// </summary>
        //public long BusinessScopeId { get; set; }
        ///// <summary>
        ///// 显示方式，0-单列小图，1-单列大图，2-双列
        ///// </summary>
        //public DisplayType DisplayType { get; set; }
        /// <summary>
        /// 店铺id
        /// </summary>
        public int StoreId { get; set; }
        /// <summary>
        /// 下级商品类型
        /// </summary>
        public IReadOnlyList<SubItemCategoryVO> SubItemCategories { get; set; }

    }
}
